package com.edu.service.impl;

import com.edu.dao.CategoriesDao;
import com.edu.dao.impl.CategoriesDaoImpl;
import com.edu.entity.CategoryEntity;
import com.edu.service.CategoriesService;

import java.util.List;

/**
 * com.edu.service.impl
 * 2024/7/4 21:02
 *
 * @author Fancy
 * @version 1.0
 */
public class CategoriesServiceImpl implements CategoriesService {
    CategoriesDao categoriesDao = new CategoriesDaoImpl();
    @Override
    public int addCategory(CategoryEntity categoryEntity) {
        return 0;
    }

    @Override
    public List<CategoryEntity> getAllCategory() {
        return categoriesDao.getAllCategory();
    }
}
